package com.helloUIBinder.client.events;

import com.google.gwt.event.shared.GwtEvent;


public class OnPageClickEvent extends GwtEvent<OnPageClickHandler> {

    public static GwtEvent.Type<OnPageClickHandler> TYPE = new GwtEvent.Type<OnPageClickHandler>();
    public String clickedLinkName = "";

    @Override
    public GwtEvent.Type<OnPageClickHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(OnPageClickHandler handler) {
        handler.click(this);
    }

    public String getClickedLinkName() {
        return clickedLinkName;
    }

    public void setClickedLinkName(String clickedLinkName) {
        this.clickedLinkName = clickedLinkName;
    }
}

